	/*********************************************   布局 Begin   ************************************************/
	var north = new Ext.Panel({title: "欢迎来到XXX系统", region: "north", height: 100, html: '<div style="margin-top: 20px; margin-left: 50px; font-size: 18px;">你好，......</div>'});
	var south = new Ext.Panel({title: "更多信息...", region: "south", height: 80});
	var center = new Ext.Panel({title: "内容", region: "center", html: '<div id="centerContent"></div>'});
	var west = new Ext.Panel({header: false, title: "组织树", region: "west", width: 200, split: true, html: '<div id="westContent"></div>'});
	var east = new Ext.Panel({title: "属性说明", region: "east", width: 200, split: true});
	var vp = new Ext.Viewport({layout: "border", items:[north, south, center, west, east]});
	/*********************************************   布局 End   ************************************************/


	    data: [
	        { id: '1', name: 'Lisa', phone: '555-111-1224', email: 'lisa@simpsons.com'},
	        { id: '2', name: 'Bart', phone: '555-111-1224', email: 'bart@simpsons.com'},
	        { id: '3', name: 'Homer', phone: '555-111-1224', email: 'home@simpsons.com'},
	        { id: '4', name: 'Marge', phone: '555-111-1224', email: 'marge@simpsons.com'}
	    ]
	    
	    
	Ext.QuickTips.init();
    var store = Ext.create('Ext.data.TreeStore', {
        proxy: {
            type: 'ajax',
            url: 'BaseAction?method=getTreeData'
        },
        root: {
            text: '开发技术',
            id: 'src',
            expanded: true
        }
    });
    
    var tree = Ext.create('Ext.tree.Panel', {
        store: store,
        renderTo: 'westContent',
        height: '400',
        title: '开发技术',
        qtip: "提示"
    });
    
/*********************************************   Tree  Begin  ************************************************/
var treeStore = Ext.create("Ext.data.TreeStore",{
	proxy : {
		type : "ajax",
		url : "BaseAction?method=getTreeData"
	},
	nodeParam : "id"	//设置传递给后台的参数名,值是树节点的id属性
});
Ext.create("Ext.tree.Panel", {
	renderTo: 'left',
	width: '100%',
	height: '100%',
	title : "开发技术",
	rootVisible : true,	//显示根节点
	root: {
		id: 'root',
		text: '根节点',
		expanded: false,
		leaf: false
	},
	viewConfig : {
		loadingText : "加载数据..."
	},
	store : treeStore
});
/*********************************************   Tree  End  ************************************************/
   